Optimal. Leaf size=30 \[ -\frac{2 \tanh ^{-1}\left (\frac{\sqrt{b}}{\sqrt{x} \sqrt{a+\frac{b}{x}}}\right )}{\sqrt{b}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.015364, antiderivative size = 30, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 17, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.176, Rules used = {337, 217, 206} \[ -\frac{2 \tanh ^{-1}\left (\frac{\sqrt{b}}{\sqrt{x} \sqrt{a+\frac{b}{x}}}\right )}{\sqrt{b}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 337
Rule 217
Rule 206
Rubi steps
\begin{align*} \int \frac{1}{\sqrt{a+\frac{b}{x}} x^{3/2}} \, dx &=-\left (2 \operatorname{Subst}\left (\int \frac{1}{\sqrt{a+b x^2}} \, dx,x,\frac{1}{\sqrt{x}}\right )\right )\\ &=-\left (2 \operatorname{Subst}\left (\int \frac{1}{1-b x^2} \, dx,x,\frac{1}{\sqrt{a+\frac{b}{x}} \sqrt{x}}\right )\right )\\ &=-\frac{2 \tanh ^{-1}\left (\frac{\sqrt{b}}{\sqrt{a+\frac{b}{x}} \sqrt{x}}\right )}{\sqrt{b}}\\ \end{align*}
Mathematica [A] time = 0.019568, size = 54, normalized size = 1.8 \[ -\frac{2 \sqrt{a} \sqrt{\frac{b}{a x}+1} \sinh ^{-1}\left (\frac{\sqrt{b}}{\sqrt{a} \sqrt{x}}\right )}{\sqrt{b} \sqrt{a+\frac{b}{x}}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.008, size = 39, normalized size = 1.3 \begin{align*} -2\,{\frac{\sqrt{x}}{\sqrt{ax+b}\sqrt{b}}\sqrt{{\frac{ax+b}{x}}}{\it Artanh} \left ({\frac{\sqrt{ax+b}}{\sqrt{b}}} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.52686, size = 174, normalized size = 5.8 \begin{align*} \left [\frac{\log \left (\frac{a x - 2 \, \sqrt{b} \sqrt{x} \sqrt{\frac{a x + b}{x}} + 2 \, b}{x}\right )}{\sqrt{b}}, \frac{2 \, \sqrt{-b} \arctan \left (\frac{\sqrt{-b} \sqrt{x} \sqrt{\frac{a x + b}{x}}}{b}\right )}{b}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 5.61636, size = 24, normalized size = 0.8 \begin{align*} - \frac{2 \operatorname{asinh}{\left (\frac{\sqrt{b}}{\sqrt{a} \sqrt{x}} \right )}}{\sqrt{b}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.14662, size = 53, normalized size = 1.77 \begin{align*} \frac{2 \, \arctan \left (\frac{\sqrt{a x + b}}{\sqrt{-b}}\right )}{\sqrt{-b}} - \frac{2 \, \arctan \left (\frac{\sqrt{b}}{\sqrt{-b}}\right )}{\sqrt{-b}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]